//object修饰对象就是一个单例
object ApplicationConfig{
    init{
        println("applicationConfig loading...")
    }
    fun doSomeThing() {
        println("doSomething")
    }
}

fun main() {
    //类名，实例名
    ApplicationConfig.doSomeThing()
    println(ApplicationConfig)
    println(ApplicationConfig)
}